package com.chat.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chat.core.entity.ChatSession;

import java.util.List;

/**
 * 单人聊天组(ChatSession)表服务接口
 *
 * @author makejava
 * @since 2022-04-22 14:24:44
 */
public interface ChatSessionService extends IService<ChatSession> {

    ChatSession addChat(ChatSession session);

    /**
     * 修改聊天通道锁
     */
    void updateSessionRevision(ChatSession session);
}
